FILE=$1

mkdir -p ../datasets

URL=https://people.eecs.berkeley.edu/~sazadi/MCGAN/datasets/$FILE.tar.gz
TAR_FILE=../datasets/$FILE.tar.gz
TARGET_DIR=../datasets/$FILE/
wget -N $URL -O $TAR_FILE
mkdir $TARGET_DIR
tar -zxvf $TAR_FILE -C ../datasets/
rm $TAR_FILE

